package com.suke.czx.modules.wxadmin.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.suke.czx.modules.wxadmin.dao.DkUserAddressDao;
import com.suke.czx.modules.wxadmin.entity.DkUserAddressEntity;
import com.suke.czx.modules.wxadmin.service.DkUserAddressService;



@Service("dkUserAddressService")
public class DkUserAddressServiceImpl implements DkUserAddressService {
	@Autowired
	private DkUserAddressDao dkUserAddressDao;
	
	@Override
	public DkUserAddressEntity queryObject(String openid){
		return dkUserAddressDao.queryObject(openid);
	}
	
	@Override
	public List<DkUserAddressEntity> queryList(Map<String, Object> map){
		return dkUserAddressDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dkUserAddressDao.queryTotal(map);
	}
	
	@Override
	public void save(DkUserAddressEntity dkUserAddress){
		dkUserAddressDao.save(dkUserAddress);
	}
	
	@Override
	public void update(DkUserAddressEntity dkUserAddress){
		dkUserAddressDao.update(dkUserAddress);
	}
	
	@Override
	public void delete(String openid){
		dkUserAddressDao.delete(openid);
	}
	
	@Override
	public void deleteBatch(String[] openids){
		dkUserAddressDao.deleteBatch(openids);
	}
	
}
